package com.naire.modul.employee.service;

import java.util.List;

import net.common.service.GeneralService;
import com.naire.modul.employee.dao.EmployeeDao;
import com.naire.modul.employee.dao.impl.EmployeeDaoImpl;
import com.naire.modul.employee.vo.EmployeeVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class EmployeeSearchService extends GeneralService {

	private List<EmployeeVo> list;
	private Integer dept_id;

	@Override
	public void execute() throws Exception {
		EmployeeDao dao = new EmployeeDaoImpl();
		list = dao.search(pageBean, dept_id);
	}

	public List<EmployeeVo> getList() {
		return list;
	}

	public void setDept_id(Integer dept_id) {
		this.dept_id = dept_id;
	}

}
